Skip to content

Ship the disk templates zstd-compressed and expand them to sparse files on first use - #771

Merged
BinSquare merged 4 commits into
mainfrom
binbin-compress-storage-template
Aug 1, 2026
Merged

Ship the disk templates zstd-compressed and expand them to sparse files on first use#771
BinSquare merged 4 commits into
mainfrom
binbin-compress-storage-template

Conversation

@BinSquare

Copy link
Copy Markdown
Contributor

The 20 GiB storage template holds ~650 KiB of real data, and shipping it as a sparse file meant releases depended on tar sparse-encoding interop that GNU tar rejects on macOS-built tarballs and that Nix materializes in full; shipping the compressed bytes instead removes the sparse member entirely and the engine restores the sparse file on first use.

…es on first use, so releases no longer carry a 20 GiB sparse member that GNU tar cannot read
@BinSquare
BinSquare merged commit 1fd782f into main Aug 1, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in smol machines Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant